package com.lovo.csc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ex_purchase")
public class Purchase extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pk_goodsId", type = IdType.AUTO)
    private Integer pkGoodsid;

    @TableField("p_goodsName")
    private String pGoodsname;

    @TableField("p_buyNum")
    private Integer pBuynum;

    private String pImg;

    @TableField("p_goodsPrice")
    private float pGoodsprice;

    private String fkName;


}
